/* ..

====================================================
Wrapper functions to call OpenCV's release functions
====================================================

	:File:			opencv_release_wrapper.c
	:Description:	wrapper functions to call OpenCV's data release functions directly from Pure
					(no additional referencing needed)
	:Author:		Kay-Uwe Kirstein
	:Version:		0.1
	
*/

#include "opencv_release_wrapper.h"

// wrap OpenCV data-struct release function for simple pointer args
void cvReleaseImageWrapper(IplImage* image) {
	cvReleaseImage(&image);
}

void cvReleaseMatWrapper(CvMat* mat) {
	cvReleaseMat(&mat);
}

void cvReleaseMatNDWrapper(CvMatND* mat) {
	cvReleaseMatND(&mat);
}

